using System;
using System.Security.Permissions;
using System.Web;

namespace PickGold.Charting
{
	[AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
	[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
	public class HitTestResult
	{
		private Axis _axis;
		private ChartArea _chartArea;
		private int _dataPoint = -1;
		private object _obj;
		private Series _series;
		private object _subObject;
		private ChartElementType _type;

		public Axis Axis
		{
			get
			{
				return this._axis;
			}
			set
			{
				this._axis = value;
			}
		}

		public ChartArea ChartArea
		{
			get
			{
				return this._chartArea;
			}
			set
			{
				this._chartArea = value;
			}
		}

		public ChartElementType ChartElementType
		{
			get
			{
				return this._type;
			}
			set
			{
				this._type = value;
			}
		}

		public object Object
		{
			get
			{
				return this._obj;
			}
			set
			{
				this._obj = value;
			}
		}

		public int PointIndex
		{
			get
			{
				return this._dataPoint;
			}
			set
			{
				this._dataPoint = value;
			}
		}

		public Series Series
		{
			get
			{
				return this._series;
			}
			set
			{
				this._series = value;
			}
		}

		public object SubObject
		{
			get
			{
				return this._subObject;
			}
			set
			{
				this._subObject = value;
			}
		}
	}
}

